    <div class="admin-content" id="saasindex">
        <div id="head_num">
            <div class="title">平台概况总览
                <small class="pull-right"><i>数据截止至：{{ enddate_1 }}</i></small>
            </div>
            <table>
                <tbody>
                <tr class="num">
                     <td style="width: 150px" class="c1">0
                        <small>万</small>
                    </td>
                    <td style="width: 150px" class="c2">0
                        <small>万</small>
                    </td>
                    <td style="width: 150px" class="c3">0
                        <small>万</small>
                    </td>
                    <td style="width: 150px" class="c4">0
                        <small>万</small>
                    </td>
                    <td style="width: 150px" class="c5">0
                        <small>万</small>
                    </td>
                    <td style="width: 150px" class="c6">0
                        <small>亿</small>
                    </td>
                </tr>
                <tr>
                    <td>收录企业</td>
                    <td>收录个体</td>
                    <td>投资任职</td>
                    <td>财务数据</td>
                    <td>风险失信</td>
                    <td>舆情事件</td>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="title left-title">基础数据统计(万)
            <small class="pull-right"><i>数据截止至：{{ enddate_2 }}</i></small>
        </div>
        <div class="divider"></div>
        <div class="title left-title">全国在营企业分布
            <small class="pull-right"><i>数据截止至：{{ enddate_1 }}</i></small>
        </div>
        <div id="fig_container1" class="fig_container"></div>
        <div class="divider"></div>
        <div id="fig_container2" class="fig_container"></div>
        <div class="title left-title">报告相关维度
            <small class="pull-right"><i>数据截止至：{{ enddate_2 }}</i></small>
        </div>
        <div class="divider"></div>
        <div class="title left-title">在营企业行业分布
            <small class="pull-right"><i>数据截止至：{{ enddate_1 }}</i></small>
            <div id="pietype">
                <span class="ptype c1" onclick="cpie('com',this)">企业</span>
                <span class="ptype c2  inactive" onclick="cpie('person',this)">个体户</span>
            </div>
        </div>
        <div id="fig_container3" class="fig_container" style="padding: 30px">
            <table>
                <tbody>
                <tr>
                    <th>名称</th>
                    <th>数量</th>
                    <th>名称</th>
                    <th>数量</th>
                </tr>
                <tr>
                    <td>注册变更</td>
                    <td>{{ alter_count }}万</td>
                    <td>行政处罚</td>
                    <td>{{ case_base }}万</td>
                </tr>
                <tr>
                    <td>企业投资</td>
                    <td>{{ entinv_count }}万</td>
                    <td>行政许可</td>
                    <td>{{ licence_count }}万</td>
                </tr>
                <tr>
                    <td>个人投资</td>
                    <td>{{ personinv_count }}万</td>
                    <td>失信名单</td>
                    <td>{{ shixin_count }}万</td>
                </tr>
                <tr>
                    <td>个人任职</td>
                    <td>{{ personposition_count }}万</td>
                    <td>动产抵押</td>
                    <td>{{ mort_count|floatformat:"2" }}万</td>
                </tr>
                <tr>
                    <td>分期实缴</td>
                    <td>{{ stockfact_count }}万</td>
                    <td>分支机构</td>
                    <td>{{ filiation_count }}万</td>
                </tr>
                <tr>
                    <td>分期认缴</td>
                    <td>{{ stockshould_count }}万</td>
                    <td>招投标</td>
                    <td>{{ zb_count }}万</td>
                </tr>
                <tr>
                    <td>股权冻结</td>
                    <td>{{ stockfrost_count|floatformat:"2" }}万</td>
                    <td>招聘信息</td>
                    <td>{{ zp_count }}万</td>
                </tr>
                <tr>
                    <td>股权转让</td>
                    <td>{{ stocktrans_count }}万</td>
                    <td>著作权</td>
                    <td>{{ zzq_count }}万</td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="divider"></div>
        <div id="fig_container4" class="fig_container"></div>
        <div class="title left-title">信用评分（平均值）地区分布
            <small class="pull-right"><i>数据截止至：{{ enddate_1 }}</i></small>
        </div>
        <div class="divider"></div>
        <div class="title left-title">信用评分（平均值）行业分布
            <small class="pull-right"><i>数据截止至：{{ enddate_1 }}</i></small>
        </div>
        <div id="fig_container5" class="fig_container"></div>
        <div class="divider"></div>
        <div id="fig_container6" class="fig_container"></div>
    </div>

    </div>
    <script>
        function barscore() {
            var fig_container1 = echarts.init(document.getElementById('fig_container1'));
            var opt1 = {
                tooltip: {
                    trigger: 'axis',
                    axisPointer: {
                        type: 'shadow'
                    }
                },
                grid: {
                    left: '3%',
                    right: '4%',
                    bottom: '3%',
                    containLabel: true
                },
                xAxis: {
                    type: 'value',
                    boundaryGap: [0, 0.01],
                },
                legend: {
                    data: ['数量'],
                    show: false
                },
                yAxis: {
                    type: 'category',
                    data: ['专利数据', '进出口数据', '税务数据', '相关自然人', '在营个体', '在营企业']
                },
                color: ["#C1232B", "#0a6999", "#f37b1d", "#5eb95e", "#3bb4f2", "#8085e9"],
                series: [
                    {
                        name: "数量",
                        type: 'bar',
                        top: -80,
                        itemStyle: {
                            normal: {
                                color: function (o) {
                                    var e = ["#C1232B", "#0a6999", "#f37b1d", "#5eb95e", "#3bb4f2", "#8085e9"];
                                    return e[o.dataIndex]
                                },
                                label: {
                                    show: true,
                                    position: "right",
                                    textStyle: {fontSize: 16}
                                }
                            }
                        },
                        data: [{{ patent_count }}, {{ hg_count }}, {{ tax_count }}, {{ person_count }}, {{ geti_zaiying }}, {{ company_zaiying }}]
                    }
                ]
            };
            var datas = (opt1.series[0].data).max();
            opt1.xAxis.max = Math.round(datas * 0.015) * 100;
            fig_container1.setOption(opt1);
        }
        barscore();
    </script>
